// pages/pageall/pageall.js
Page({

    data: {
        PageCur: 'index',
    },
    NavChange(e) {
        this.setData({
            PageCur: e.currentTarget.dataset.cur,
            PageTitle: e.currentTarget.dataset.title
        })
    },
  onLoad:function(op){
     this.setData({
        PageCur:op.foodfriends
     })
  }
})